const net = require('net');

const tcpServer = net.createServer((client)=>{
    client.on('data',(data)=>{
        console.log('data: ', data);

    })
})